package com.wwz.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 管理员
 * @date 2022/02/18 27:11:38
 */
@Data
@ApiModel("管理员")
@TableName("admin")
@EqualsAndHashCode(callSuper = false)
public class Admin implements Serializable {

    @TableId(type = IdType.INPUT)
    @ApiModelProperty("主键")
    private String id;


    @ApiModelProperty("用户名")
    private String userName;


    @ApiModelProperty("密码")
    private String passWord;

}
